package cn.bdqn.pn.controller.order;

import cn.bdqn.pn.pojo.order.ChildOrder;
import cn.bdqn.pn.service.order.ChildOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/childOrder")
public class ChildOrderController {

    @Autowired
    ChildOrderService childOrderService;

   /* *//**
     * 根据订单号查询子订单
     * @param orderNum
     * @return
     *//*
    @ResponseBody
    @RequestMapping(value = "/findChidlOrderByOrderNum",method = RequestMethod.POST)
    ChildOrder findChidlOrderByOrderNum(String orderNum){
        return  childOrderService.findChidlOrderByOrderNum(orderNum);
    }*/

}
